<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>输出星期</title>
</head>
<body>
  <script>
    let week = +prompt("请输入星期1-7");
    switch(week){
      case 1:
        xq = "monday "
        break;
      case 2:
        xq = "'Tuesday "
        break;
      case 3:
        xq = "'Wednesday "
        break;
      case 4:
        xq = "Thursday "
        break;
      case 5:
        xq = "Friday "
        break;
      case 6:
        xq = "Saturday "
        break;
      case 7:
        xq = "Sunday "
        break;
    }
    document.write(xq)
  </script>
</body>
</html>